package com.tjbklx1.thread.chap09.demo01;

public class Host {
	
	public Data request(final int count,final char c){
		System.out.println("    request("+count+","+c+" BEGIN )");
		final FutureData futureData = new FutureData();
		new Thread(){
			public void run() {
				RealData realData = new RealData(count, c);
				futureData.setContent(realData);
			};
		}.start();
		System.out.println("    request("+count+","+c+" END )");
		return futureData;
	}

}
